@layout("/common/_container.html",{js:["/assets/hx/storage/hxStorageOffShelf/hxStorageOffShelf.js"]}){



<div class="layui-body-header">
    <span class="layui-body-header-title">下架任务表管理</span>
</div>

<div class="layui-fluid">
    <div class="layui-row layui-col-space15">
        <div class="layui-col-sm12 layui-col-md12 layui-col-lg12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-form toolbar">
                        <div class="layui-form-item">
				            <div class="layui-inline">
				                <button id="btnTovoid" class="layui-btn icon-btn layui-btn-danger"><i class="layui-icon">&#x1006;</i>作废</button>
				            </div>
                            <div class="layui-inline" style="width: 150px;">
                                <input id="startTime" class="layui-input" autocomplete="off" type="text" placeholder="开始时间从"/>
                            </div>
                            <div class="layui-inline">
                                一
                            </div>
                            <div class="layui-inline" style="width: 150px;">
                                <input id="endTime" class="layui-input" autocomplete="off" type="text" placeholder="结束时间至"/>
                            </div>
                            <div class="layui-inline">
                                <select id="status">
                                    <option value="">选择状态</option>
                                    <option value="待领取">待领取</option>
                                    <option value="已领取">已领取</option>
                                    <option value="已完成">已完成</option>
                                    <option value="作废">作废</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="storageState">
                                    <option value="">选择xlb回传状态</option>
                                    <option value="已完成">已完成</option>
                                    <option value="未完成">未完成</option>
                                </select>
                            </div>
                            <div class="layui-inline">
                                <select id="taskFlag">
                                    <option value="">选择任务标记</option>
                                    <option value="急">加急</option>
                                    <option value="强">强下</option>
                                </select>
                            </div>

                            <div class="layui-inline">
                                <select id="warehouseId">
                                    <option value="">选择仓库</option>
                                    @for(item in basicWarehouseList!){
                                    <option value="${item.id}">${item.warehouseName}</option>
                                    @}
                                </select>
                            </div>
                            <div class="layui-inline">
                                <input id="condition" class="layui-input" type="text" placeholder="关键词"/>
                            </div>
                            <div class="layui-inline">
                                <button id="btnSearch" class="layui-btn icon-btn"><i class="layui-icon">&#xe615;</i>搜索</button>
                                <button id="btnExp" class="layui-btn icon-btn"><i class="layui-icon">&#xe67d;</i>导出</button>
                            </div>
                        </div>
                    </div>
                    <table class="layui-table" id="hxStorageOffShelfTable" lay-filter="hxStorageOffShelfTable"></table>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/html" id="statusTpl">
  {{#  if(d.status === '已领取'){ }}
    <span style="color: #FFC300;font-weight: 600;">{{ d.status }}</span>
  {{#  }else if(d.status === '已完成'){ }}
    <span style="color: #43CF7C;font-weight: 600;">{{ d.status }}</span>
  {{#  } else { }}
    {{ d.status }}
  {{#  } }}
</script>

@}
